package be.dch.objectprops.formatter;

public class BooleanPrimitiveFormatter extends BooleanFormatter {

    @SuppressWarnings("rawtypes")
    
    public Class getFormatterClass() {
	return boolean.class;
    }

    
    public Object parse(final String input) {

	if ((input == null) || (input.length() == 0)) {
	    return Boolean.FALSE;
	}
	return super.parse(input);

    }

}
